package com.miao.websecurity.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.miao.websecurity.entity.SysMenu;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 系统菜单列表(SysMenu)表数据库访问层
 *
 * @author MiaoWenqing
 * @since 2021-01-16 15:41:10
 */
@Mapper
@Repository
public interface SysMenuDao extends BaseMapper<SysMenu> {
    /**
     * 根据adminId 获取菜单
     * @param adminId adminId
     * @return
     */
    List<SysMenu> getMenuByAdminId(String adminId);

}